package com.studyroom.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.studyroom.entity.SnackOrder;

public interface SnackOrderService extends IService<SnackOrder> {
    void createOrder(String username, SnackOrder order);
    Page<SnackOrder> getMyOrders(String username, Integer status, Page<SnackOrder> page);
    void cancelOrder(String username, Long orderId);
} 